package edu.vital.energy.longevity.ch05.domain;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @Classname MyProperties
 * @Description TODO
 * @Date 2019-3-1 14:54
 * @Created by CrazyStone
 */
//@Component
   // 自定义配置类
  // 开启对应配置类的属性注入功能
   // 指定自定义配置文件位置和名称
      // 指定配置文件注入属性前缀
public class MyProperties {




//    @Override
//    public String toString() {
//        return "MyProperties{" +
//                "id=" + id +
//                ", name='" + name + '\'' +
//                '}';
//    }
}

